#pragma once
#include "MaterialBase.h"
#include <Rz/Graphics/Render/IEffect.h>
#include <Rz/IO/File.h>

namespace Rz { namespace Graphics { namespace Materials {

class PhongMaterial :
	public MaterialBase
{
	public:
		RZ_RTTI(Rz::Graphics::Materials, PhongMaterial);
		RZ_RTTI_IMPLEMENTS(MaterialBase);
		RZ_RTTI_END;

		PhongMaterial(Render::IRenderDevice* renderDevice)
			: MaterialBase(renderDevice)
		{

		}

		void Apply()
		{
			if (this->GetEffect() != nullptr)
			{
				this->GetEffect()->Bind();
			}
		}
};

} } }
